<template>
  <router-view />
</template>

<script setup lang="ts">
</script>

<style>
body {
  font-family: Microsoft YaHei, Arial;
}

:root {
  --el-color-primary: #167ce6;
  --color-cheng: var(--el-color-primary);
  --color-d9: #000;
  --color-43: #000;
}

button {
  position: relative;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.cu {
  cursor: pointer;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

#app.manage {
  /* --el-color-success: var(--color-2CDC87); */
  /* --el-color-primary-light-3: var(--color-cheng2); */
  /* --background-color: #f0f4fe; */
  /* --el-menu-hover-bg-color: var(--el-color-primary-light-9); */
  /* --el-color-primary-light-9: #ecf5ff; */

  font-family: Microsoft YaHei, Arial;
  /* background-color: var(--background-color); */

  --container-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  --container-border-radius: 8px;

  --sass-color-blue: #4683fa;
  --sass-color-blue2: #79bbff;
  --sass-color-blue3: #69AEF7;
  --sass-color-blue4: rgba(70, 131, 250, 0.1);
  --sass-color-blue-rgba5: rgba(70, 131, 250, 0.5);

  /* el */
  --el-tabs-item-height: 50px;
  --el-color-primary: var(--sass-color-blue);

}

#app.manage .text-right {
  text-align: right;
}

/* 带有icon的小标题 */
#app.manage .icon-text {
  display: inline-flex;
  align-items: center;
}

#app.manage .text-primary {
  color: var(--sass-color-blue) !important;
  font-size: 20px;
  margin-right: 4px;
}

#app.manage .margin-left20 {
  margin-left: 20px !important;
}

#app.manage .margin-bottom20 {
  margin-bottom: 20px !important;
}

#app.manage .margin-top20 {
  margin-top: 20px !important;
}

#app.manage .padding0 {
  padding: 0 !important;
}

#app.manage .pager {
  /* float: right; */
  margin: 15px 0;
  display: flex;
  justify-content: flex-end;
}

#app.manage .question-label,
#app.manage .question-intable-label {
  margin:0 4px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 3px;
}

/* ============================== element-plus ============================== */
/* 高度自适应 */
#app.manage .el-header {
  height: auto !important;
}

/* dialog弹出层 title el-dialog__title 样式统一 */
#app.manage .el-dialog {
  --el-dialog-l-padding: 24px;
  --el-dialog-m-padding: 14px;
  padding: 0;
}

#app.manage .el-overlay-dialog .el-dialog__header,
#app.manage .el-drawer__header .el-drawer__title {
  line-height: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

#app.manage .el-overlay-dialog .el-dialog__header {
  padding: var(--el-dialog-m-padding) 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dcdfe6;
  box-shadow: var(--container-box-shadow);
}

#app.manage .el-dialog .el-dialog__header-title {
  margin-left: var(--el-dialog-m-padding);
}

#app.manage .el-dialog .el-dialog__title {
  margin-left: var(--el-dialog-m-padding);
}

#app.manage .el-dialog .el-dialog__headerbtn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

#app.manage .el-dialog__body {
  padding: var(--el-dialog-l-padding);
  height: auto;
}

#app.manage .el-dialog__footer {
  padding: var(--el-dialog-l-padding);
  padding-top: 0;
}

#app.manage .el-overlay-dialog {
  position: fixed !important;
}

#app.manage .my-el-drawer .el-drawer__header {
  margin-bottom: 0;
}
</style>

<style>
.el-table .el-loading-parent--relative {
  box-sizing: border-box;
}

.el-table__header .el-table__cell {
  background-color: #f8f8f8 !important;
  color: #333;
  padding: 10px 0;
}

.el-table__cell .cell {
  text-align: center;
}

.el-table__header .cell {
  line-height: normal;
  font-size: 15px;
}

.el-table__empty-block {
  height: auto !important;
}
</style>